package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;

/**
 * @Author: ruohao
 * @Date: 2023/8/11
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RestaurantCustomer extends BaseEntity {
    private Long id;
    @Excel(name = "用户编号", cellType = Excel.ColumnType.STRING)
    private String customerId;
    @Excel(name = "用户名称", cellType = Excel.ColumnType.STRING)
    private String customerName;
    @Excel(name = "余额", cellType = Excel.ColumnType.STRING)
    private BigDecimal balance;
    @Excel(name = "园区", cellType = Excel.ColumnType.STRING)
    private String location;
    @Excel(name = "联系电话", cellType = Excel.ColumnType.STRING)
    private String phone;
    private String houseNumber;
    private String extra;
    private Integer type;
}
